Coming soon: Improvements to app installation error handling in ESP – Out of Office Hours

您所在的位置:网站首页 coming soon app Coming soon: Improvements to app installation error handling in ESP – Out of Office Hours

Coming soon: Improvements to app installation error handling in ESP – Out of Office Hours

2023-07-15 00:29| 来源: 网络整理| 查看: 265

For those of you who have been deploying apps (of any type, Win32, LOB/MSI, UWP, etc.) during a Windows Autopilot provisioning process with ESP enabled, you may have noticed that an installation failure for an app has an interesting result:  ESP will time out at the end of the configured timeout period, even if the app failed after one minute.  That’s not awful if your timeout is fairly short, but with typical ESP timeout values being configured at 60 minutes (or even longer), that can be a little frustrating – waiting for something you know has failed and being unable to make it report that failure faster.

We have been working on that, changing the ESP monitoring logic to tell you about errors when they occur.  Those changes will be available in the next Windows Insider build (20222 or higher), which should be available this week.  With those changes in place, you’ll see an error like this:

image

And most importantly, you’ll see that when the error occurred.  In my case, the error (which I forced by deploying an app that reports a return code that Intune will consider a failure) happened about 15 minutes into the process (as the apps before it in the list for Intune Management Extensions had to install before it got to this one that failed), and then I saw this.

Since I have “Continue anyway” enabled in my ESP profile, as well as all the other options (reset, collect logs, try again), there are choices presented to the user what to do in this case.  If they choose to “Continue anyway” it will advance to the next step in the process, which would mean user ESP if there was a failure during device ESP, or to the desktop if there was a failure during user ESP.  (The “Machine targeted!” message is actually the custom error text that I defined in my ESP profile – see https://oofhours.com/2020/06/23/you-can-now-target-esp-profiles-to-devices/ for more info on that.)

You can see the app failure detail in the Get-AutopilotDiagnostics script output:

image

That shows that my app exited with return code 1234, hence the failure.

The goal is to backport this change to previous Windows 10 releases as well (at least 2004 and 20H2), but the timeframe for that is still undetermined.  If you have any feedback on this change, let us know (since that’s what Insider builds are for).

Share this:TweetEmailMastodonLike this:Like Loading... Related

Categories: Windows Autopilot



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3